package com.mdb.open.epay;

import lombok.extern.log4j.Log4j2;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author liuyi
 * @date 2019-11-14
 **/
@Log4j2
@SpringCloudApplication
@EnableFeignClients
@ComponentScan("com.mdb.open")
public class EPayOpenApiApplication {

    public static void main(String[] args) {
        try {
            SpringApplication.run(EPayOpenApiApplication.class, args);
        } catch (Exception e) {
            log.error("启动服务异常", e);
        }
    }
}
